class Remap::Rule
Constants
- VOID
Public Instance Methods
call(state)
click to toggle source
@param state [State]
@abstract
# File lib/remap/rule.rb, line 17 def call(state) raise NotImplementedError, "#{self.class}#call not implemented" end
inspect()
click to toggle source
@return [String]
# File lib/remap/rule.rb, line 22 def inspect "#<#{self.class} #{to_hash.formatted}>" end
Also aliased as: to_s
to_hash()
click to toggle source
@return [Hash]
# File lib/remap/rule.rb, line 28 def to_hash attributes.transform_values(&:to_hash).except(:backtrace) end