Module: ActionInFile
Constant Summary collapse
- LINE_EXP =
/(\+|-|\/|\!)?\s*(\S*)([^\(]*)(\(([^\)]*))?/u
Constants included from Status
Status::ACTIVE_STATES, Status::INACTIVE_STATES, Status::STATUS_ORDER, Status::STATUS_SYMBOLS, Status::SYMBOLS_STATUS
Instance Method Summary collapse
Methods included from ActionFileUtil
Methods included from Status
#active, #directory_name, #inactive, #index, #symbol, #with_status
Instance Method Details
#write(folder) ⇒ Object
27 28 29 30 31 32 33 |
# File 'lib/action_persistence.rb', line 27 def write(folder) file_name=file_name(folder) #log " Creating file #{file_name}" project_substring = @project == nil ? "" : " (#{@project})" write_to_encoded_file(file_name, project_file_string + "\nProject: #{@project.name}") end |