Class: WritersRoom::ContextDetector::Context

Inherits:
Struct
  • Object
show all
Defined in:
lib/writers_room/context_detector.rb

Instance Attribute Summary collapse

Instance Attribute Details

#element_slugObject

Returns the value of attribute element_slug

Returns:

  • the current value of element_slug



7
8
9
# File 'lib/writers_room/context_detector.rb', line 7

def element_slug
  @element_slug
end

#element_typeObject

Returns the value of attribute element_type

Returns:

  • the current value of element_type



7
8
9
# File 'lib/writers_room/context_detector.rb', line 7

def element_type
  @element_type
end

#in_project?Object

Returns the value of attribute in_project?

Returns:

  • the current value of in_project?



7
8
9
# File 'lib/writers_room/context_detector.rb', line 7

def in_project?
  @in_project?
end

#mediumObject

Returns the value of attribute medium

Returns:

  • the current value of medium



7
8
9
# File 'lib/writers_room/context_detector.rb', line 7

def medium
  @medium
end

#project_pathObject

Returns the value of attribute project_path

Returns:

  • the current value of project_path



7
8
9
# File 'lib/writers_room/context_detector.rb', line 7

def project_path
  @project_path
end

#project_stateObject

Returns the value of attribute project_state

Returns:

  • the current value of project_state



7
8
9
# File 'lib/writers_room/context_detector.rb', line 7

def project_state
  @project_state
end