Module: SwissVillageDirectory

Defined in:
lib/swiss_village_directory.rb,
lib/swiss_village_directory/version.rb,
lib/swiss_village_directory/village.rb,
lib/swiss_village_directory/repository.rb

Defined Under Namespace

Classes: Repository, Village

Constant Summary collapse

VERSION =
'0.4.0'.freeze

Class Method Summary collapse

Class Method Details

.repositoryObject



6
7
8
# File 'lib/swiss_village_directory.rb', line 6

def self.repository
  @repository ||= Repository.new
end

.villagesObject



10
11
12
# File 'lib/swiss_village_directory.rb', line 10

def self.villages
  repository.villages
end