quick_attr 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1) hide show
  1. metadata +16 -14
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quick_attr
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dominic Tarr
@@ -19,17 +19,19 @@ date: 2010-09-10 00:00:00 +12:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
22
- description: "\t\tusage:\n\
23
- \t\trequire 'quick_attr'\n\
24
- \t\tclass C\n\
25
- \t\t\textend QuickAttr\n\
26
- \t\t\tquick_attr :name, :smell\n\
27
- \t\tend\n\n\
28
- \t\t#set attr by passing value\n\
29
- \t\tc = C.new.name(\"bobaloba ding-dong\").smell(\"fishy\")\n\n\
30
- \t\t#get attr by calling without args...\n\
31
- \t\tputs c.name\t# bobaloba ding-dong\n\
32
- \t\tputs c.smell\t# fishy\n"
22
+ description: "\t\tusage: <br>\n\
23
+ \t\trequire 'quick_attr'<br>\n\
24
+ \t\tclass C<br>\n\
25
+ \t\t\textend QuickAttr<br>\n\
26
+ \t\t\tquick_attr :name, :smell<br>\n\
27
+ \t\tend<br>\n\
28
+ <br>\n\
29
+ \t\t#set attr by passing value<br>\n\
30
+ \t\tc = C.new.name(\"bobaloba ding-dong\").smell(\"fishy\")<br>\n\
31
+ <br>\n\
32
+ \t\t#get attr by calling without args...<br>\n\
33
+ \t\tputs c.name\t# bobaloba ding-dong<br>\n\
34
+ \t\tputs c.smell\t# fishy<br>\n"
33
35
  email: dominic.tarr@gmail.com
34
36
  executables: []
35
37