Class: Conjur::Policy::Ruby::YAMLList

Inherits:
Array
  • Object
show all
Defined in:
lib/conjur/policy/ruby/loader.rb

Direct Known Subclasses

Body, Entitlements

Instance Method Summary collapse

Instance Method Details

#encode_with(coder) ⇒ Object



57
58
59
# File 'lib/conjur/policy/ruby/loader.rb', line 57

def encode_with coder
  coder.represent_seq tag, self
end

#tagObject



53
54
55
# File 'lib/conjur/policy/ruby/loader.rb', line 53

def tag
  [ "!", self.class.name.split("::")[-1].underscore ].join
end