class Dotman::Shell::Command
Public Class Methods
new(str)
click to toggle source
# File lib/dotman/shell/command.rb, line 3 def initialize(str) @str = str end
Public Instance Methods
to_s(level = 0)
click to toggle source
# File lib/dotman/shell/command.rb, line 7 def to_s(level = 0) (' ' * (level * 4)) + @str end