Module: IziJsonLd

Defined in:
lib/izi_json_ld.rb,
lib/izi_json_ld/types.rb,
lib/izi_json_ld/engine.rb,
lib/izi_json_ld/version.rb,
lib/izi_json_ld/types/date_time.rb,
lib/izi_json_ld/types/one_or_more.rb

Overview

core setup

Defined Under Namespace

Modules: Types Classes: Engine

Constant Summary collapse

VERSION =
'1.0.11'

Class Method Summary collapse

Class Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (IziJsonLd)

    the object that the method was called on



9
10
11
# File 'lib/izi_json_ld.rb', line 9

def configure
  yield self
end

.root_pathObject



17
18
19
# File 'lib/izi_json_ld.rb', line 17

def root_path
  @root_path ||= Pathname.new(File.dirname(File.expand_path(__dir__)))
end