Class: Micron::Runner::Clazz
- Inherits:
-
Object
- Object
- Micron::Runner::Clazz
- Includes:
- Debug
- Defined in:
- lib/micron/runner/clazz.rb,
lib/micron/runner/clazz19.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#methods ⇒ Object
readonly
Returns the value of attribute methods.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#create ⇒ Object
Create a new instance of the Class represented by this object.
-
#initialize(clazz, file, method_patterns) ⇒ Clazz
constructor
A new instance of Clazz.
- #run ⇒ Object
Methods included from Debug
Constructor Details
Instance Attribute Details
#methods ⇒ Object (readonly)
Returns the value of attribute methods.
8 9 10 |
# File 'lib/micron/runner/clazz.rb', line 8 def methods @methods end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/micron/runner/clazz.rb', line 8 def name @name end |
Instance Method Details
#create ⇒ Object
Create a new instance of the Class represented by this object
17 18 19 |
# File 'lib/micron/runner/clazz.rb', line 17 def create name_to_const.new end |