Sha256: 6145d6db3310c8b127262d54339bbeb9f146d0e7526d409ba5228326d33c6e07
Contents?: true
Size: 474 Bytes
Versions: 1
Compression:
Stored size: 474 Bytes
Contents
require 'leadlight/tint_helper' module Leadlight class Tint < Module attr_reader :name def initialize(name, &block) @name = @tint_name = name tint = self super(){ define_method(:__apply_tint__) do super() helper = TintHelper.new(self, tint) helper.exec_tint(&block) end } end def inspect "#<Leadlight::Tint:#{@tint_name}>" end def to_s inspect end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
leadlight-0.0.2 | lib/leadlight/tint.rb |