Class: IPAddress::ResultCrunchyParts

Inherits:
Object
  • Object
show all
Defined in:
lib/ipaddress/result_crunchy_parts.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#crunchyObject

Returns the value of attribute crunchy.



3
4
5
# File 'lib/ipaddress/result_crunchy_parts.rb', line 3

def crunchy
  @crunchy
end

#partsObject

Returns the value of attribute parts.



3
4
5
# File 'lib/ipaddress/result_crunchy_parts.rb', line 3

def parts
  @parts
end