Sha256: 3ed5c17373554f4bd785053fa048bf10165a0edb5bdff99f8fdd179e17fe737d

Contents?: true

Size: 305 Bytes

Versions: 2

Compression:

Stored size: 305 Bytes

Contents

module Locomotive::Steam

  class EditableElement

    include Locomotive::Steam::Models::Entity

    attr_accessor :page

    def initialize(attributes = {})
      super({
        source: nil
      }.merge(attributes))
    end

    def default_content?
      !!self[:default_content]
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
locomotivecms_steam-1.0.0.pre.alpha.1 lib/locomotive/steam/entities/editable_element.rb
locomotivecms_steam-1.0.0.pre.alpha lib/locomotive/steam/entities/editable_element.rb