Module: Matt::Support::Participant
- Includes:
- Puts
- Included in:
- Datasource, Exporter, Measure
- Defined in:
- lib/matt/support/participant.rb
Instance Attribute Summary collapse
-
#configuration ⇒ Object
Returns the value of attribute configuration.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Methods included from Puts
#debug, #info, #puts_err, #puts_out, #stderr, #stdout
Instance Attribute Details
#configuration ⇒ Object
Returns the value of attribute configuration.
7 8 9 |
# File 'lib/matt/support/participant.rb', line 7 def configuration @configuration end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/matt/support/participant.rb', line 6 def name @name end |
Instance Method Details
#class_name ⇒ Object
13 14 15 |
# File 'lib/matt/support/participant.rb', line 13 def class_name self.class.name.gsub /#<Class(.*?)>::/, "" end |
#fail!(message) ⇒ Object
9 10 11 |
# File 'lib/matt/support/participant.rb', line 9 def fail!() raise UnexpectedError, end |
#to_s ⇒ Object
17 18 19 |
# File 'lib/matt/support/participant.rb', line 17 def to_s "#{class_name}(#{self.name})" end |