Sha256: 70cff5f119dfe982a477022496cb9c7e1c0b2a4f08bedf2ba86d36315a686895
Contents?: true
Size: 709 Bytes
Versions: 1
Compression:
Stored size: 709 Bytes
Contents
# -*- encoding: utf-8 -*- require "attrtastic/semantic_attributes_helper" require "attrtastic/semantic_attributes_builder" ## # Attrtastic, in its assumption, should be similar to formtastic and # ease displaying AR informations, help create scaffolded show and index # pages. # # @author Boruta Mirosław require File.join(File.dirname(__FILE__), *%w[attrtastic railtie]) if defined?(::Rails::Railtie) module Attrtastic extend self # Set default options for attribute such as :display_empty # # @example # Attrtastic.default_options[:display_empty] = true attr_accessor :default_options self.default_options ||= {} def reset_default_options self.default_options = {} end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
attrtastic-0.4.3 | lib/attrtastic.rb |