Class: OUI::Organization
- Inherits:
-
Object
- Object
- OUI::Organization
- Defined in:
- lib/oui/organization.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#chinese_name ⇒ Object
Returns the value of attribute chinese_name.
-
#name ⇒ Object
Returns the value of attribute name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Organization
constructor
A new instance of Organization.
Constructor Details
#initialize {|_self| ... } ⇒ Organization
Returns a new instance of Organization.
5 6 7 |
# File 'lib/oui/organization.rb', line 5 def initialize yield self if block_given? end |
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
3 4 5 |
# File 'lib/oui/organization.rb', line 3 def address @address end |
#chinese_name ⇒ Object
Returns the value of attribute chinese_name.
3 4 5 |
# File 'lib/oui/organization.rb', line 3 def chinese_name @chinese_name end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/oui/organization.rb', line 3 def name @name end |
Class Method Details
.parse(string) ⇒ Object
9 10 11 |
# File 'lib/oui/organization.rb', line 9 def self.parse(string) raise 'not implemented yet' end |