Class: TestProf::RSpecStamp::Parser::Result
- Inherits:
-
Object
- Object
- TestProf::RSpecStamp::Parser::Result
- Defined in:
- lib/test_prof/rspec_stamp/parser.rb
Overview
Contains the result of parsing
Instance Attribute Summary collapse
-
#desc ⇒ Object
Returns the value of attribute desc.
-
#fname ⇒ Object
Returns the value of attribute fname.
-
#htags ⇒ Object
readonly
Returns the value of attribute htags.
-
#tags ⇒ Object
readonly
Returns the value of attribute tags.
Instance Method Summary collapse
Instance Attribute Details
#desc ⇒ Object
Returns the value of attribute desc.
13 14 15 |
# File 'lib/test_prof/rspec_stamp/parser.rb', line 13 def desc @desc end |
#fname ⇒ Object
Returns the value of attribute fname.
13 14 15 |
# File 'lib/test_prof/rspec_stamp/parser.rb', line 13 def fname @fname end |
#htags ⇒ Object (readonly)
Returns the value of attribute htags.
14 15 16 |
# File 'lib/test_prof/rspec_stamp/parser.rb', line 14 def @htags end |
#tags ⇒ Object (readonly)
Returns the value of attribute tags.
14 15 16 |
# File 'lib/test_prof/rspec_stamp/parser.rb', line 14 def @tags end |
Instance Method Details
#add_htag(k, v) ⇒ Object
21 22 23 24 |
# File 'lib/test_prof/rspec_stamp/parser.rb', line 21 def add_htag(k, v) @htags ||= [] @htags << [k, v] end |
#add_tag(v) ⇒ Object
16 17 18 19 |
# File 'lib/test_prof/rspec_stamp/parser.rb', line 16 def add_tag(v) @tags ||= [] @tags << v end |