Class: ShareWith::ServiceDataType::Integer

Inherits:
BasicDataType show all
Defined in:
lib/share_with/service_data.rb

Overview

Define an integer type.

Instance Attribute Summary

Attributes inherited from BasicDataType

#label, #value

Instance Method Summary collapse

Methods inherited from BasicDataType

#attr, #initialize, #reset!

Constructor Details

This class inherits a constructor from ShareWith::ServiceDataType::BasicDataType

Instance Method Details

#value=(val) ⇒ Object



50
51
52
# File 'lib/share_with/service_data.rb', line 50

def value=(val)
  @value = val.to_i
end