Class: TestHtmlFormatter::StubTableHandler

Inherits:
Object
  • Object
show all
Defined in:
test/test_util/html_parser.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

- (Object) method_missing(mname, *args)



125
126
127
128
# File 'test/test_util/html_parser.rb', line 125

def method_missing(mname, *args)
  @called = mname  
  @arguments = args
end

Instance Attribute Details

- (Object) arguments (readonly)

Returns the value of attribute arguments



124
125
126
# File 'test/test_util/html_parser.rb', line 124

def arguments
  @arguments
end

- (Object) called (readonly)

Returns the value of attribute called



124
125
126
# File 'test/test_util/html_parser.rb', line 124

def called
  @called
end