Class: Riddl::Wrapper::Description::RequestStarOut
- Inherits:
-
AccessBase
- Object
- AccessBase
- Riddl::Wrapper::Description::RequestStarOut
- Defined in:
- lib/ruby/riddl/wrapper/description/access.rb
Overview
}}}
Instance Attribute Summary collapse
-
#out ⇒ Object
readonly
Returns the value of attribute out.
Attributes inherited from AccessBase
Class Method Summary collapse
Instance Method Summary collapse
- #hash ⇒ Object
-
#initialize(des, mout, interface, custom = []) ⇒ RequestStarOut
constructor
{{{.
- #visualize ⇒ Object
Methods inherited from AccessBase
Constructor Details
#initialize(des, mout, interface, custom = []) ⇒ RequestStarOut
{{{
72 73 74 75 76 77 78 79 80 |
# File 'lib/ruby/riddl/wrapper/description/access.rb', line 72 def initialize(des,mout,interface,custom=[]) @custom = custom @interface = interface if des.nil? @out = mout else @out = mout.nil? ? nil : Riddl::Wrapper::Description::Message.new(des,mout) end end |
Instance Attribute Details
#out ⇒ Object (readonly)
Returns the value of attribute out.
84 85 86 |
# File 'lib/ruby/riddl/wrapper/description/access.rb', line 84 def out @out end |
Class Method Details
.new_from_message(mout, custom) ⇒ Object
81 82 83 |
# File 'lib/ruby/riddl/wrapper/description/access.rb', line 81 def self.(mout,custom) RequestStarOut.new(nil,mout,nil,custom) end |
Instance Method Details
#hash ⇒ Object
85 86 87 |
# File 'lib/ruby/riddl/wrapper/description/access.rb', line 85 def hash @out.nil? ? 0 : @out.hash end |
#visualize ⇒ Object
88 |
# File 'lib/ruby/riddl/wrapper/description/access.rb', line 88 def visualize; "out #{@out.nil? ? "NIL" : @out.name.inspect}"; end |