class Audiothority::Society
Public Class Methods
new(location, fileutils=FileUtils)
click to toggle source
# File lib/audiothority/society.rb, line 9 def initialize(location, fileutils=FileUtils) @location = Pathname.new(location) @fileutils = fileutils end
Public Instance Methods
transfer(enforced)
click to toggle source
# File lib/audiothority/society.rb, line 14 def transfer(enforced) @fileutils.move(enforced, @location) end