Class: Riddl::Wrapper::Description::AccessBase

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby/riddl/wrapper/description/access.rb

Overview

{{{

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#customObject (readonly)

Returns the value of attribute custom.



14
15
16
# File 'lib/ruby/riddl/wrapper/description/access.rb', line 14

def custom
  @custom
end

#interfaceObject (readonly)

Returns the value of attribute interface.



13
14
15
# File 'lib/ruby/riddl/wrapper/description/access.rb', line 13

def interface
  @interface
end

Instance Method Details

#used=(value) ⇒ Object



6
7
8
# File 'lib/ruby/riddl/wrapper/description/access.rb', line 6

def used=(value)
  @used = value
end

#used?Boolean

Returns:

  • (Boolean)


9
10
11
12
# File 'lib/ruby/riddl/wrapper/description/access.rb', line 9

def used?
  @used ||= nil
  @used || false
end