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