Class: RubyPost::CustomOption

Inherits:
Option show all
Defined in:
lib/options.rb

Overview

Can insert pure metapost option commands here.

Instance Method Summary collapse

Constructor Details

#initialize(c = Sting.new) ⇒ CustomOption

Returns a new instance of CustomOption.



16
17
18
# File 'lib/options.rb', line 16

def initialize
  @command = String.new
end

Instance Method Details

#compileObject



24
25
26
# File 'lib/options.rb', line 24

def compile
  @command.compile
end