Class: Tomahawk::DirectiveGroups::Directory

Inherits:
Base
  • Object
show all
Defined in:
lib/tomahawk/directive_groups/directory.rb

Instance Attribute Summary

Attributes inherited from Base

#directives, #groups, #parameters

Instance Method Summary collapse

Methods inherited from Base

#==, #initialize, #to_s

Constructor Details

This class inherits a constructor from Tomahawk::DirectiveGroups::Base

Instance Method Details

#to_str(generator = Tomahawk::Generators::Directory) ⇒ Object



4
5
6
# File 'lib/tomahawk/directive_groups/directory.rb', line 4

def to_str(generator = Tomahawk::Generators::Directory)
  generator.new(self).to_s
end