class Decorators::Paths

Attributes

registered[R]

Public Class Methods

new(*args) click to toggle source
# File lib/decorators/paths.rb, line 7
def initialize(*args)
  @registered = Array.new(*args)
end

Public Instance Methods

register!(path) click to toggle source
# File lib/decorators/paths.rb, line 11
def register!(path)
  @registered << Pathname.new(path)
end