Parent

Methods

Files

Class/Module Index [+]

Quicksearch

Mutter::Indenter

Public Class Methods

new(tab = 2) click to toggle source
# File lib/mutter/indenter.rb, line 3
def initialize tab = 2
  @tab = tab
end

Public Instance Methods

[](n, obj = nil) click to toggle source
# File lib/mutter/indenter.rb, line 7
def [] n, obj = nil
  ' ' * (n * @tab)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.