Class: SimpleExample::Format

Inherits:
Object
  • Object
show all
Defined in:
lib/simple_example.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.compactObject

Returns the value of attribute compact.



15
16
17
# File 'lib/simple_example.rb', line 15

def compact
  @compact
end

.result_prefixObject

Returns the value of attribute result_prefix.



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

def result_prefix
  @result_prefix
end

.separatorObject

Returns the value of attribute separator.



14
15
16
# File 'lib/simple_example.rb', line 14

def separator
  @separator
end

.source_prefixObject

Returns the value of attribute source_prefix.



12
13
14
# File 'lib/simple_example.rb', line 12

def source_prefix
  @source_prefix
end

Class Method Details

.compact?Boolean

Returns:

  • (Boolean)


29
30
31
# File 'lib/simple_example.rb', line 29

def compact?
  !!@compact
end