class Algerb::File

Constants

FILE_PATTERN

Attributes

name[R]

Public Class Methods

new(name) click to toggle source
# File lib/algerb/file.rb, line 8
def initialize(name)
  @name = name
end

Public Instance Methods

==(another) click to toggle source
# File lib/algerb/file.rb, line 16
def ==(another)
  self.name == another.name
end
each(&block) click to toggle source
# File lib/algerb/file.rb, line 12
def each(&block)
  each_files(&block)
end