Class: Aspector::DeferredOption
- Inherits:
-
Object
- Object
- Aspector::DeferredOption
- Defined in:
- lib/aspector/deferred_option.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
4 5 6 |
# File 'lib/aspector/deferred_option.rb', line 4 def key @key end |
Instance Method Details
#[](key) ⇒ Object
6 7 8 9 |
# File 'lib/aspector/deferred_option.rb', line 6 def [] key @key = key self end |
#inspect ⇒ Object
11 12 13 |
# File 'lib/aspector/deferred_option.rb', line 11 def inspect "options[:#{key}]" end |