Exception: Ridoku::PropertyDefaultsUndefined
- Inherits:
-
StandardError
- Object
- StandardError
- Ridoku::PropertyDefaultsUndefined
- Defined in:
- lib/ridoku/defaults.rb
Instance Attribute Summary collapse
-
#method ⇒ Object
Returns the value of attribute method.
Instance Method Summary collapse
-
#initialize(_method) ⇒ PropertyDefaultsUndefined
constructor
A new instance of PropertyDefaultsUndefined.
Constructor Details
#initialize(_method) ⇒ PropertyDefaultsUndefined
Returns a new instance of PropertyDefaultsUndefined.
10 11 12 13 |
# File 'lib/ridoku/defaults.rb', line 10 def initialize(_method) self.method = _method super "Inheritors of 'ClassProperties' must define: #{method}" end |
Instance Attribute Details
#method ⇒ Object
Returns the value of attribute method.
9 10 11 |
# File 'lib/ridoku/defaults.rb', line 9 def method @method end |