Module: Puttfs
- Defined in:
- lib/puttfs.rb,
lib/puttfs/version.rb
Constant Summary collapse
- POINTY_ARROW =
( "\n .::.\n .:::;;;.\n .:;;;;;;;:;.\n .:::;;;;;;;;;'\n .:;;;;;;;;;;;'\n :;. .::::;;;;;;;;'\n :;;::::;;;;;;;;'\n :;;::::;;;;;;'\n :;;::::;;;;'\n :;;;;;;::;\n :;;;;;;::;;\n ''''''''''''\n\n\n" ).freeze
- VERSION =
"0.1.0"
Class Method Summary collapse
Class Method Details
.config ⇒ Object
35 36 37 |
# File 'lib/puttfs.rb', line 35 def self.config @config end |
.configure(&block) ⇒ Object
31 32 33 |
# File 'lib/puttfs.rb', line 31 def self.configure(&block) block.call(config) if block_given? end |
.defaults ⇒ Object
5 6 7 |
# File 'lib/puttfs.rb', line 5 def self.defaults {:output => $stdout} end |
.puttfs(*objs) ⇒ Object
39 40 41 |
# File 'lib/puttfs.rb', line 39 def self.puttfs(*objs) config.output.puts POINTY_ARROW, *objs end |