Sha256: c26186761c10681693276324a107c16ffc4ac2545267ac5ee231344b42a074c1

Contents?: true

Size: 308 Bytes

Versions: 1

Compression:

Stored size: 308 Bytes

Contents

module InterfaceBuilder 
  class Theme
    attr_writer :name, :layout_template, :layout    
    def name; @name || 'default' end
    def layout_template; @layout_template || 'default' end
    def layout; @layout || 'default' end

    def metadata
      InterfaceBuilder.theme_metadata(name)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails-ext-0.3.27 lib/interface_builder/theme.rb