Module: TogoStanza

Defined in:
lib/togostanza.rb,
lib/togostanza/cli.rb,
lib/togostanza/version.rb,
lib/togostanza/markdown.rb,
lib/togostanza/application.rb

Defined Under Namespace

Modules: CLI, Markdown, Stanza Classes: Application, NoSearchDeclarationError

Constant Summary collapse

VERSION =
'1.3.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.text_search_methodObject

Returns the value of attribute text_search_method.



11
12
13
# File 'lib/togostanza.rb', line 11

def text_search_method
  @text_search_method
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (TogoStanza)

    the object that the method was called on



13
14
15
# File 'lib/togostanza.rb', line 13

def configure
  yield self
end

.sprocketsObject



17
18
19
20
21
# File 'lib/togostanza.rb', line 17

def sprockets
  @sprockets ||= Sprockets::Environment.new.tap {|sprockets|
    sprockets.append_path File.expand_path('../../assets', __FILE__)
  }
end