Class: WsdlMapper::Parsing::Logging::LogMsg
- Inherits:
-
Object
- Object
- WsdlMapper::Parsing::Logging::LogMsg
- Defined in:
- lib/wsdl_mapper/parsing/logging.rb
Instance Method Summary (collapse)
-
- (LogMsg) initialize(node, source, msg = '')
constructor
A new instance of LogMsg.
- - (Object) to_s
Constructor Details
- (LogMsg) initialize(node, source, msg = '')
Returns a new instance of LogMsg
6 7 8 9 10 11 |
# File 'lib/wsdl_mapper/parsing/logging.rb', line 6 def initialize(node, source, msg = '') @node = node @source = source @node_name = node && node.name @msg = msg end |
Instance Method Details
- (Object) to_s
13 14 15 |
# File 'lib/wsdl_mapper/parsing/logging.rb', line 13 def to_s "#{@msg}: #{@node} - #{@source.class.name}" end |