Class: RubyBreaker::TypeDefs::MethodListType
- Defined in:
- lib/rubybreaker/type/type.rb
Overview
This class represents multiple method types.
Instance Attribute Summary collapse
-
#types ⇒ Object
This accessor sets/gets the method types.
Attributes inherited from Type
Instance Method Summary collapse
-
#initialize(types = [], *args) ⇒ MethodListType
constructor
A new instance of MethodListType.
Methods inherited from Type
Constructor Details
#initialize(types = [], *args) ⇒ MethodListType
Returns a new instance of MethodListType.
229 230 231 232 |
# File 'lib/rubybreaker/type/type.rb', line 229 def initialize(types=[],*args) super(*args) @types = types end |
Instance Attribute Details
#types ⇒ Object
This accessor sets/gets the method types.
227 228 229 |
# File 'lib/rubybreaker/type/type.rb', line 227 def types @types end |