Class: PrettyDoc::Resource

Inherits:
Object
  • Object
show all
Defined in:
lib/pretty_doc/resource.rb,
lib/pretty_doc/resources/scss.rb,
lib/pretty_doc/resources/source.rb

Overview

Base Resource Class

Direct Known Subclasses

Scss, Source

Defined Under Namespace

Classes: Scss, Source

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fileObject

Returns the value of attribute file.



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

def file
  @file
end

Instance Method Details

#write(file_dir, options = {}) ⇒ Object



8
9
# File 'lib/pretty_doc/resource.rb', line 8

def write(file_dir, options = {})
end