Module: Cuker::Interface
Instance Method Summary collapse
Instance Method Details
#method(name) ⇒ Object
3 4 5 6 7 |
# File 'lib/cuker/helpers/_interface.rb', line 3 def method(name) define_method(name) {|*args| raise NotImplementedError.new("please implement this interface method: '#{name}'") } end |