Class: Stronger::Interface
- Inherits:
-
Object
- Object
- Stronger::Interface
- Defined in:
- lib/stronger/interface.rb
Instance Attribute Summary collapse
-
#methods ⇒ Object
readonly
Returns the value of attribute methods.
Instance Method Summary collapse
-
#initialize(*methods) ⇒ Interface
constructor
A new instance of Interface.
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
#methods ⇒ Object (readonly)
Returns the value of attribute methods.
3 4 5 |
# File 'lib/stronger/interface.rb', line 3 def methods @methods end |