class Scim::Kit::V2::Filter::Node
@private
Public Class Methods
new(hash)
click to toggle source
# File lib/scim/kit/v2/filter/node.rb, line 11 def initialize(hash) @hash = hash end
Public Instance Methods
accept(visitor)
click to toggle source
# File lib/scim/kit/v2/filter/node.rb, line 31 def accept(visitor) visitor.visit(self) end
attribute()
click to toggle source
# File lib/scim/kit/v2/filter/node.rb, line 19 def attribute self[:attribute].to_s end
inspect()
click to toggle source
# File lib/scim/kit/v2/filter/node.rb, line 43 def inspect @hash.inspect end
left()
click to toggle source
# File lib/scim/kit/v2/filter/node.rb, line 35 def left self.class.new(self[:left]) end
not?()
click to toggle source
# File lib/scim/kit/v2/filter/node.rb, line 27 def not? @hash.key?(:not) end
operator()
click to toggle source
# File lib/scim/kit/v2/filter/node.rb, line 15 def operator self[:operator].to_sym end
right()
click to toggle source
# File lib/scim/kit/v2/filter/node.rb, line 39 def right self.class.new(self[:right]) end
value()
click to toggle source
# File lib/scim/kit/v2/filter/node.rb, line 23 def value self[:value].to_s[1..-2] end
Private Instance Methods
[](key)
click to toggle source
# File lib/scim/kit/v2/filter/node.rb, line 49 def [](key) @hash[key] end