Class: Complicode::PartialKey

Inherits:
Struct
  • Object
show all
Defined in:
lib/complicode/partial_key.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value


4
5
6
# File 'lib/complicode/partial_key.rb', line 4

def value
  @value
end

Instance Method Details

#sizeObject


5
6
7
# File 'lib/complicode/partial_key.rb', line 5

def size
  value.size
end