Sha256: a6d88a957a4638227c7b05745fd895300ef5870bd5baa7d58dd5977e919a3c91
Contents?: true
Size: 1.05 KB
Versions: 1
Compression:
Stored size: 1.05 KB
Contents
module SimpleResource module Configuration mattr_accessor :button_classes self.button_classes = "btn" mattr_accessor :mini_button_classes self.mini_button_classes = "btn-mini" mattr_accessor :button_classes_for_new self.button_classes_for_new = "" mattr_accessor :button_classes_for_show self.button_classes_for_show = "" mattr_accessor :button_classes_for_edit self.button_classes_for_edit = "" mattr_accessor :button_classes_for_delete self.button_classes_for_delete = "btn-danger" mattr_accessor :icon_classes self.icon_classes = "" mattr_accessor :icon_classes_for_new self.icon_classes_for_new = "icon-plus-sign" mattr_accessor :icon_classes_for_show self.icon_classes_for_show = "icon-zoom-in" mattr_accessor :icon_classes_for_edit self.icon_classes_for_edit = "icon-edit" mattr_accessor :icon_classes_for_delete self.icon_classes_for_delete = "icon-trash icon-white" def configure yield self if block_given? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simple_resource-0.3.0 | lib/simple_resource/configuration.rb |