Class: IPAddress::ResultCrunchyParts
- Inherits:
-
Object
- Object
- IPAddress::ResultCrunchyParts
- Defined in:
- lib/ipaddress/result_crunchy_parts.rb
Instance Attribute Summary collapse
-
#crunchy ⇒ Object
Returns the value of attribute crunchy.
-
#parts ⇒ Object
Returns the value of attribute parts.
Instance Method Summary collapse
-
#initialize(crunchy, parts) ⇒ ResultCrunchyParts
constructor
A new instance of ResultCrunchyParts.
Constructor Details
#initialize(crunchy, parts) ⇒ ResultCrunchyParts
Returns a new instance of ResultCrunchyParts.
4 5 6 7 |
# File 'lib/ipaddress/result_crunchy_parts.rb', line 4 def initialize(crunchy, parts) @crunchy = crunchy @parts = parts end |
Instance Attribute Details
#crunchy ⇒ Object
Returns the value of attribute crunchy.
3 4 5 |
# File 'lib/ipaddress/result_crunchy_parts.rb', line 3 def crunchy @crunchy end |
#parts ⇒ Object
Returns the value of attribute parts.
3 4 5 |
# File 'lib/ipaddress/result_crunchy_parts.rb', line 3 def parts @parts end |