Class: Smplkit::Logging::LoggerChangeEvent

Inherits:
Struct
  • Object
show all
Defined in:
lib/smplkit/logging/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#levelObject

Returns the value of attribute level

Returns:

  • (Object)

    the current value of level



136
137
138
# File 'lib/smplkit/logging/client.rb', line 136

def level
  @level
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



136
137
138
# File 'lib/smplkit/logging/client.rb', line 136

def name
  @name
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



136
137
138
# File 'lib/smplkit/logging/client.rb', line 136

def source
  @source
end

Instance Method Details

#==(other) ⇒ Object



137
138
139
# File 'lib/smplkit/logging/client.rb', line 137

def ==(other)
  other.is_a?(LoggerChangeEvent) && name == other.name && level == other.level && source == other.source
end