Skip to content
This repository has been archived by the owner on Jan 2, 2018. It is now read-only.

Commit

Permalink
ruby highlight code
Browse files Browse the repository at this point in the history
  • Loading branch information
siuying committed May 8, 2012
1 parent afdd51c commit 1d986e5
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions README.md
Expand Up @@ -10,19 +10,23 @@ Add BubbleWrap as a git submodule of your RubyMotion project:

Add the BubbleWrap lib path to your project 'Rakefile'

Motion::Project::App.setup do |app|
app.name = 'myapp'
app.files += Dir.glob(File.join(app.project_dir, 'vendor/BubbleWrap/lib/**/*.rb'))
end
```ruby
Motion::Project::App.setup do |app|
app.name = 'myapp'
app.files += Dir.glob(File.join(app.project_dir, 'vendor/BubbleWrap/lib/**/*.rb'))
end
```

Now, you can use BubbleWrap extension in your app:

class AppDelegate
def application(application, didFinishLaunchingWithOptions:launchOptions)
puts "#{App.name} (#{documents_path})"
true
end
end
```ruby
class AppDelegate
def application(application, didFinishLaunchingWithOptions:launchOptions)
puts "#{App.name} (#{documents_path})"
true
end
end
```

## HTTP

Expand Down

0 comments on commit 1d986e5

Please sign in to comment.