Class: SublInit::Project::Files::SublimeProject::FolderEntry

Inherits:
Struct
  • Object
show all
Defined in:
lib/sublinit/project/files/sublime_project.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



11
12
13
# File 'lib/sublinit/project/files/sublime_project.rb', line 11

def name
  @name
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



11
12
13
# File 'lib/sublinit/project/files/sublime_project.rb', line 11

def path
  @path
end

Instance Method Details

#to_entryObject



12
13
14
# File 'lib/sublinit/project/files/sublime_project.rb', line 12

def to_entry
  to_h.compact
end