Class: ActiveCMIS::AtomicType::Integer
- Inherits:
-
CommonBase
- Object
- CommonBase
- ActiveCMIS::AtomicType::Integer
- Defined in:
- lib/active_cmis/atomic_types.rb
Instance Attribute Summary collapse
-
#max_value ⇒ Object
readonly
Returns the value of attribute max_value.
-
#min_value ⇒ Object
readonly
Returns the value of attribute min_value.
Instance Method Summary collapse
- #can_handle?(value) ⇒ Boolean
-
#initialize(min_value = nil, max_value = nil) ⇒ Integer
constructor
A new instance of Integer.
- #to_s ⇒ Object
Methods inherited from CommonBase
Constructor Details
#initialize(min_value = nil, max_value = nil) ⇒ Integer
Returns a new instance of Integer.
80 81 82 |
# File 'lib/active_cmis/atomic_types.rb', line 80 def initialize(min_value = nil, max_value = nil) @min_value, @max_value = min_value, max_value end |
Instance Attribute Details
#max_value ⇒ Object (readonly)
Returns the value of attribute max_value.
79 80 81 |
# File 'lib/active_cmis/atomic_types.rb', line 79 def max_value @max_value end |
#min_value ⇒ Object (readonly)
Returns the value of attribute min_value.
79 80 81 |
# File 'lib/active_cmis/atomic_types.rb', line 79 def min_value @min_value end |