Class
Class Methods
lib/shell/builtin-command.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/shell/builtin-command.rb, line 36
def initialize(sh, *strings)
super sh
@strings = strings
end
No documentation available
Instance Methods
lib/shell/builtin-command.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/shell/builtin-command.rb, line 41
def each(rs = nil)
rs = @shell.record_separator unless rs
for str in @strings
yield str + rs
end
end
No documentation available