░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/var/www/canvas/vendor/bundle/ruby/3.1.0/gems/pry-0.14.2/lib/pry/config
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: attributable.rb
# frozen_string_literal: true class Pry class Config # Attributable provides the ability to create "attribute" # accessors. Attribute accessors create a standard "attr_writer" and a # customised "attr_reader". This reader is Proc-aware (lazy). # # @since v0.13.0 # @api private module Attributable def attribute(attr_name) define_method(attr_name) do value = Config::Value.new(instance_variable_get("@#{attr_name}")) value.call end attr_writer(attr_name) end end end end
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 attributable.rb
RB
565 B
2023-09-24 03:48
EDIT
📄 lazy_value.rb
RB
620 B
2023-09-24 03:48
EDIT
📄 memoized_value.rb
RB
739 B
2023-09-24 03:48
EDIT
📄 value.rb
RB
503 B
2023-09-24 03:48
EDIT