Exception: Conjur::Policy::Invalid
- Defined in:
- lib/conjur/policy/invalid.rb
Instance Attribute Summary collapse
-
#mark ⇒ Object
readonly
Returns the value of attribute mark.
Instance Method Summary collapse
-
#initialize(message, filename, mark) ⇒ Invalid
constructor
A new instance of Invalid.
Constructor Details
#initialize(message, filename, mark) ⇒ Invalid
Returns a new instance of Invalid.
6 7 8 9 |
# File 'lib/conjur/policy/invalid.rb', line 6 def initialize , filename, mark super [ "Error at line #{mark.line}, column #{mark.column} in #{filename}", ].join(' : ') @mark = mark end |
Instance Attribute Details
#mark ⇒ Object (readonly)
Returns the value of attribute mark.
4 5 6 |
# File 'lib/conjur/policy/invalid.rb', line 4 def mark @mark end |