Class: DataSource
- Inherits:
-
ActiveRecordShared
- Object
- ActiveRecord::Base
- ActiveRecordShared
- DataSource
- Defined in:
- app/models/data_source.rb
Overview
don’t know exactly
Instance Method Summary collapse
-
#is_other? ⇒ Boolean
Returns boolean of comparison true only if key == ‘other’.
-
#to_s ⇒ Object
Returns description.
Instance Method Details
#is_other? ⇒ Boolean
Returns boolean of comparison true only if key == ‘other’
20 21 22 |
# File 'app/models/data_source.rb', line 20 def is_other? key == 'other' end |
#to_s ⇒ Object
Returns description
14 15 16 |
# File 'app/models/data_source.rb', line 14 def to_s description end |