Module: Flatfish

Defined in:
lib/flatfish.rb,
lib/flatfish/url.rb,
lib/flatfish/page.rb,
lib/flatfish/media.rb,
lib/flatfish/create_tables.rb,
lib/flatfish/pleuronectiformes.rb

Overview

API

Defined Under Namespace

Modules: Url Classes: CreateKlass, CreateMedia, Media, Page, Pleuronectiformes

Constant Summary collapse

VERSION =
"0.3.4"

Class Method Summary collapse

Class Method Details

.ingurgitateObject



31
32
33
# File 'lib/flatfish.rb', line 31

def ingurgitate
  new.ingurgitate
end

.new(yml = nil) ⇒ Object

allow alias Flatfish.new etc



22
23
24
25
26
27
28
29
# File 'lib/flatfish.rb', line 22

def new(yml = nil)
  yml ||= './config.yml'
  if !File.exists?(yml) then
    puts "ERROR: No Config file"
    exit 1
  end
  Flatfish::Pleuronectiformes.new(yml)
end