Sha256: 6816257f8d3b9009693b09424c95f9a7871371e1a7d3fe9a7141e6eb723e2639
Contents?: true
Size: 629 Bytes
Versions: 2
Compression:
Stored size: 629 Bytes
Contents
require 'fattr' require 'ick' require File.expand_path("shared_style_attributes", File.dirname(__FILE__)) class Germinate::Insertion include Germinate::SharedStyleAttributes Ick::Returning.belongs_to(self) attr_reader :library attr_reader :selector fattr(:log) { Germinate.logger } def initialize(selector, library, template={}) copy_shared_style_attributes_from(template) @selector = selector @library = library end def to_s "Insertion[#{selector}]" end def resolve returning(library[selector, self, self]) do |hunk| log.debug "Resolved #{self} to #{hunk}" end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
devver-germinate-1.2.0 | lib/germinate/insertion.rb |
germinate-1.2.0 | lib/germinate/insertion.rb |