Class: AdLint::Cc1::Member
- Inherits:
-
Object
- Object
- AdLint::Cc1::Member
- Defined in:
- lib/adlint/cc1/type.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
- #dup ⇒ Object
-
#initialize(name, type) ⇒ Member
constructor
A new instance of Member.
Constructor Details
#initialize(name, type) ⇒ Member
6686 6687 6688 6689 |
# File 'lib/adlint/cc1/type.rb', line 6686 def initialize(name, type) @name = name @type = type end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
6691 6692 6693 |
# File 'lib/adlint/cc1/type.rb', line 6691 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
6692 6693 6694 |
# File 'lib/adlint/cc1/type.rb', line 6692 def type @type end |