Exception: Ridoku::PropertyDefaultsUndefined

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ridoku/defaults.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#methodObject

Returns the value of attribute method.



9
10
11
# File 'lib/ridoku/defaults.rb', line 9

def method
  @method
end