Module: CouchPillow::TypePrefixDirective

Included in:
Document
Defined in:
lib/couchpillow/directives/type_prefix.rb

Instance Method Summary collapse

Instance Method Details

#_is_type_prefixed?Boolean

Returns:



11
12
13
# File 'lib/couchpillow/directives/type_prefix.rb', line 11

def _is_type_prefixed?
  @type_prefix == true
end

#type_prefix(v) ⇒ Object



6
7
8
# File 'lib/couchpillow/directives/type_prefix.rb', line 6

def type_prefix v
  @type_prefix = v == true
end