Class: Chartio::TestFormatter
- Inherits:
-
Object
- Object
- Chartio::TestFormatter
- Defined in:
- lib/chartio/test_formatter.rb
Instance Attribute Summary collapse
-
#foreign_keys ⇒ Object
Returns the value of attribute foreign_keys.
Instance Method Summary collapse
- #<<(fk) ⇒ Object
- #find_key(search_options = {}) ⇒ Object
- #find_keys(search_options = {}) ⇒ Object
-
#initialize ⇒ TestFormatter
constructor
A new instance of TestFormatter.
- #output_report ⇒ Object
Constructor Details
#initialize ⇒ TestFormatter
Returns a new instance of TestFormatter.
6 7 8 |
# File 'lib/chartio/test_formatter.rb', line 6 def initialize @foreign_keys = [] end |
Instance Attribute Details
#foreign_keys ⇒ Object
Returns the value of attribute foreign_keys.
4 5 6 |
# File 'lib/chartio/test_formatter.rb', line 4 def foreign_keys @foreign_keys end |
Instance Method Details
#<<(fk) ⇒ Object
10 11 12 |
# File 'lib/chartio/test_formatter.rb', line 10 def <<(fk) @foreign_keys << fk end |
#find_key(search_options = {}) ⇒ Object
18 19 20 |
# File 'lib/chartio/test_formatter.rb', line 18 def find_key( = {}) find(:find, ) end |
#find_keys(search_options = {}) ⇒ Object
22 23 24 |
# File 'lib/chartio/test_formatter.rb', line 22 def find_keys( = {}) find(:find_all, ) end |
#output_report ⇒ Object
14 15 16 |
# File 'lib/chartio/test_formatter.rb', line 14 def output_report nil end |