Class: Nukumber::Model::Examples
- Inherits:
-
Object
- Object
- Nukumber::Model::Examples
- Defined in:
- lib/nukumber/model/examples.rb
Instance Attribute Summary collapse
-
#keyword ⇒ Object
readonly
Returns the value of attribute keyword.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#table ⇒ Object
Returns the value of attribute table.
Instance Method Summary collapse
-
#initialize(name, line, keyword, table) ⇒ Examples
constructor
A new instance of Examples.
Constructor Details
#initialize(name, line, keyword, table) ⇒ Examples
Returns a new instance of Examples.
9 10 11 |
# File 'lib/nukumber/model/examples.rb', line 9 def initialize(name, line, keyword, table) @name, @line, @keyword, @table = name, line, keyword, table end |
Instance Attribute Details
#keyword ⇒ Object (readonly)
Returns the value of attribute keyword.
6 7 8 |
# File 'lib/nukumber/model/examples.rb', line 6 def keyword @keyword end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
6 7 8 |
# File 'lib/nukumber/model/examples.rb', line 6 def line @line end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/nukumber/model/examples.rb', line 6 def name @name end |
#table ⇒ Object
Returns the value of attribute table.
7 8 9 |
# File 'lib/nukumber/model/examples.rb', line 7 def table @table end |