class Locomotive::Steam::Liquid::ContentTypeFieldSelectOption

Public Class Methods

new(option) click to toggle source
# File lib/locomotive/steam/liquid/drops/content_entry_collection.rb, line 95
def initialize(option)
  @option = option
end

Public Instance Methods

==(other_object) click to toggle source
# File lib/locomotive/steam/liquid/drops/content_entry_collection.rb, line 107
def ==(other_object)
  self.name == other_object
end
id() click to toggle source
# File lib/locomotive/steam/liquid/drops/content_entry_collection.rb, line 99
def id
  @option._id.to_s
end
name() click to toggle source
# File lib/locomotive/steam/liquid/drops/content_entry_collection.rb, line 103
def name
  @option.name
end
to_s() click to toggle source
# File lib/locomotive/steam/liquid/drops/content_entry_collection.rb, line 111
def to_s
  self.name
end