Skip to content

Commit 8b098fc

Browse files
committedNov 5, 2013
Update readme
1 parent 14e2ebd commit 8b098fc

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed
 

‎README.md

+12-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# Opal::Activesupport
1+
# Opal: ActiveSupport
22

3-
TODO: Write a gem description
3+
> @AstonJ But it's vanilla Ruby. It's not like you have ActiveSupport available, which somewhat defeats it for me.
4+
@dhh, https://twitter.com/dhh/status/260783823254601728
45

56
## Installation
67

@@ -16,9 +17,17 @@ Or install it yourself as:
1617

1718
$ gem install opal-activesupport
1819

20+
1921
## Usage
2022

21-
TODO: Write usage instructions here
23+
Inside your `application.js.rb`:
24+
25+
```ruby
26+
require 'active_support' # to require the whole active support lib
27+
require 'active_support/core_ext' # require only the corelib extensions
28+
require 'active_support/core_ext/string' # require only the corelib extensions
29+
```
30+
2231

2332
## Contributing
2433

0 commit comments

Comments
 (0)
Please sign in to comment.