Sha256: 25caf23706bea8252edef5c9d89e4ffbdaa2373467f4996d660d8a09c96b77f8
Contents?: true
Size: 405 Bytes
Versions: 36
Compression:
Stored size: 405 Bytes
Contents
class Ufo::TaskDefinition::Erb class Base < Ufo::CLI::Base def initialize(options={}) super @path = options[:path] @task_definition = options[:task_definition] end def print_code(text) lines = text.split("\n") lpad = lines.size.to_s.size lines.each_with_index do |line,n| printf("%#{lpad}d %s\n", n+1, line) end nil end end end
Version data entries
36 entries across 36 versions & 1 rubygems