attn 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/attn.rb +9 -0
  3. metadata +44 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b643305b524aac15f3be9a32ef361779b9123bc1
4
+ data.tar.gz: 907a17fcd9b4bcedad10559c68e735df84ce242d
5
+ SHA512:
6
+ metadata.gz: 59d9d8ba005967c771e0cbe3edc3c2ab818e5b5a3825dc6f442166f4423e3a20f7556addd35b1dbc8ac1199fcd2f693e1e736c5f63362ae33188b7a20b18d462
7
+ data.tar.gz: 878943bac627b905510a825fe773b7a5affd0eb0c997f52192612541db9c35c079985dcc011359c38a95b572d6b8b4b70a0ba1971120dd2f469fea694ebaaae5
@@ -0,0 +1,9 @@
1
+ def attn(method = nil)
2
+ unless method
3
+ print "\033[43m* * * * * * * * * * * * * * * * * * * *\033[0m\n"
4
+ else
5
+ print "\033[43m* * * * * * * * * * * * * * * * * * * *\033[0m\n"
6
+ p method
7
+ print "\033[43m* * * * * * * * * * * * * * * * * * * *\033[0m\n"
8
+ end
9
+ end
metadata ADDED
@@ -0,0 +1,44 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: attn
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Shawn Watson
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-05-02 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: A simple gem to make finding specific lines of code easier in the console
14
+ email: shawn.h.watson@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/attn.rb
20
+ homepage: http://rubygems.org/gems/attn
21
+ licenses:
22
+ - MIT
23
+ metadata: {}
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ requirements: []
39
+ rubyforge_project:
40
+ rubygems_version: 2.4.5
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: Easy to spot strings in the console
44
+ test_files: []