Class: Nukumber::Model::Examples

Inherits:
Object
  • Object
show all
Defined in:
lib/nukumber/model/examples.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#keywordObject (readonly)

Returns the value of attribute keyword.



6
7
8
# File 'lib/nukumber/model/examples.rb', line 6

def keyword
  @keyword
end

#lineObject (readonly)

Returns the value of attribute line.



6
7
8
# File 'lib/nukumber/model/examples.rb', line 6

def line
  @line
end

#nameObject (readonly)

Returns the value of attribute name.



6
7
8
# File 'lib/nukumber/model/examples.rb', line 6

def name
  @name
end

#tableObject

Returns the value of attribute table.



7
8
9
# File 'lib/nukumber/model/examples.rb', line 7

def table
  @table
end