Class: Eg::Nested::Bob

Inherits:
Fit::ColumnFixture show all
Defined in:
lib/eg/nested/bob.rb

Direct Known Subclasses

BobTheBuilderFixture

Constant Summary

Constants inherited from Fit::Fixture

Fit::Fixture::GRAY, Fit::Fixture::GREEN, Fit::Fixture::RED, Fit::Fixture::YELLOW

Instance Attribute Summary collapse

Attributes inherited from Fit::Fixture

#args, #counts, #listener, #summary

Instance Method Summary collapse

Methods inherited from Fit::ColumnFixture

#check, #do_cell, #do_row, #do_rows, #execute, #reset

Methods inherited from Fit::Fixture

camel, #check, #do_cell, #do_cells, #do_row, #do_rows, #do_table, #do_tables, #error, escape, #exception, #find_class, #fixture_name, #get_args_for_table, #get_linked_fixture_with_args, gray, #ignore, #info, #initialize, #interpret_following_tables, #interpret_tables, label, metadata, #parse, #right, #total_errors, #totals, #wrong

Constructor Details

This class inherits a constructor from Fit::Fixture

Instance Attribute Details

#last_nameObject

Returns the value of attribute last_name.



6
7
8
# File 'lib/eg/nested/bob.rb', line 6

def last_name
  @last_name
end

Instance Method Details

#full_nameObject



7
8
9
# File 'lib/eg/nested/bob.rb', line 7

def full_name
	"Bob #{@last_name}"
end