Class: Stronger::Interface

Inherits:
Object
  • Object
show all
Defined in:
lib/stronger/interface.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*methods) ⇒ Interface

Returns a new instance of Interface.



4
5
6
# File 'lib/stronger/interface.rb', line 4

def initialize(*methods)
  @methods = methods
end

Instance Attribute Details

#methodsObject (readonly)

Returns the value of attribute methods.



3
4
5
# File 'lib/stronger/interface.rb', line 3

def methods
  @methods
end