Class: Ynl::Models::Operation
- Inherits:
-
Object
- Object
- Ynl::Models::Operation
- Defined in:
- ynl/lib/ynl/models.rb
Instance Attribute Summary collapse
-
#attribute_set ⇒ Object
readonly
Returns the value of attribute attribute_set.
-
#doc ⇒ Object
readonly
Returns the value of attribute doc.
-
#doit ⇒ Object
readonly
Returns the value of attribute doit.
-
#dumpit ⇒ Object
readonly
Returns the value of attribute dumpit.
-
#fixed_header ⇒ Object
readonly
Returns the value of attribute fixed_header.
-
#flags ⇒ Object
readonly
Returns the value of attribute flags.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#notification ⇒ Object
readonly
Returns the value of attribute notification.
Instance Method Summary collapse
-
#initialize(name:, doc:, flags:, fixed_header:, attribute_set:, doit:, dumpit:, notification:) ⇒ Operation
constructor
A new instance of Operation.
- #resolve(f) ⇒ Object
Constructor Details
#initialize(name:, doc:, flags:, fixed_header:, attribute_set:, doit:, dumpit:, notification:) ⇒ Operation
Returns a new instance of Operation.
168 169 170 171 172 173 174 175 176 177 |
# File 'ynl/lib/ynl/models.rb', line 168 def initialize(name:, doc:, flags:, fixed_header:, attribute_set:, doit:, dumpit:, notification:) @name = name @doc = doc @flags = flags @fixed_header = fixed_header @attribute_set = attribute_set @doit = doit @dumpit = dumpit @notification = notification end |
Instance Attribute Details
#attribute_set ⇒ Object (readonly)
Returns the value of attribute attribute_set.
166 167 168 |
# File 'ynl/lib/ynl/models.rb', line 166 def attribute_set @attribute_set end |
#doc ⇒ Object (readonly)
Returns the value of attribute doc.
166 167 168 |
# File 'ynl/lib/ynl/models.rb', line 166 def doc @doc end |
#doit ⇒ Object (readonly)
Returns the value of attribute doit.
166 167 168 |
# File 'ynl/lib/ynl/models.rb', line 166 def doit @doit end |
#dumpit ⇒ Object (readonly)
Returns the value of attribute dumpit.
166 167 168 |
# File 'ynl/lib/ynl/models.rb', line 166 def dumpit @dumpit end |
#fixed_header ⇒ Object (readonly)
Returns the value of attribute fixed_header.
166 167 168 |
# File 'ynl/lib/ynl/models.rb', line 166 def fixed_header @fixed_header end |
#flags ⇒ Object (readonly)
Returns the value of attribute flags.
166 167 168 |
# File 'ynl/lib/ynl/models.rb', line 166 def flags @flags end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
166 167 168 |
# File 'ynl/lib/ynl/models.rb', line 166 def name @name end |
#notification ⇒ Object (readonly)
Returns the value of attribute notification.
166 167 168 |
# File 'ynl/lib/ynl/models.rb', line 166 def notification @notification end |
Instance Method Details
#resolve(f) ⇒ Object
179 180 181 182 183 184 |
# File 'ynl/lib/ynl/models.rb', line 179 def resolve(f) @doit = @doit&.resolve(f) @dumpit = @dumpit&.resolve(f) @notification = @notification&.resolve(f) self end |