class Object
Public Class Methods
new(row, padding)
click to toggle source
# File spec/unit/border/new_spec.rb, line 18 def initialize(row, padding); end
Public Instance Methods
call(val, row, col)
click to toggle source
# File spec/unit/operations/new_spec.rb, line 8 def call(val, row, col) val.value= val.value + 1 end
unindent(string)
click to toggle source
# File spec/spec_helper.rb, line 46 def unindent(string) prefix = string.scan(/^[ \t]+(?=\S)/).min string.gsub(/^#{prefix}/, '').chomp end