class Poleica::Polei

Strange name for a simple object, it represents a File

Attributes

path[R]

Public Class Methods

new(path) click to toggle source
# File lib/poleica/polei.rb, line 10
def initialize(path)
  @path = path.strip
  fail "No file @ #{path}" unless File.exist?(path)
end