Class: Skeptick::Compose

Inherits:
Convert show all
Defined in:
lib/skeptick/sugar/compose.rb

Constant Summary

Constants inherited from Convert

Skeptick::Convert::BINARY_PATH, Skeptick::Convert::DEFAULT_OUTPUT

Instance Attribute Summary

Attributes inherited from Convert

#appends, #context, #prepends, #subjects

Instance Method Summary collapse

Methods inherited from Convert

#&, #*, #+, #-, #/, #command, #inspect, #run, #shellwords, #to_s, #|

Constructor Details

#initialize(context, *args, &blk) ⇒ Compose

Returns a new instance of Compose.



3
4
5
6
# File 'lib/skeptick/sugar/compose.rb', line 3

def initialize(context, *args, &blk)
  @blending = args.shift.to_s
  super
end

Instance Method Details

#setup_appendsObject



8
9
10
# File 'lib/skeptick/sugar/compose.rb', line 8

def setup_appends
  [:compose, @blending, :composite]
end