Sha256: 10beaaa91e29f4a51d404f7d757cec8c1576c577934769a8e68ddc73ece017c1
Contents?: true
Size: 481 Bytes
Versions: 21
Compression:
Stored size: 481 Bytes
Contents
module InterfaceBuilder module ViewHelper # # Basic # def b @b ||= InterfaceBuilder::ViewBuilder.new self end alias_method :builder, :b def themed_partial partial raise "Theme not set!" unless @theme "/themes/#{@theme}/#{partial}_t" end def themed_resource resource raise "Theme not set!" unless @theme "/#{InterfaceBuilder.plugin_name.should_not_be!(:blank)}/themes/#{@theme}/#{resource}" end end end
Version data entries
21 entries across 21 versions & 1 rubygems