README.md in motion-prime-0.3.0 vs README.md in motion-prime-0.3.1
- old
+ new
@@ -7,17 +7,17 @@
The main feature of MotionPrime is one more layer on UI elements: Section.
"Section" is something like "Partial" in Ruby On Rails, but it's smarter and will help you build application UI.
## Getting Started
-### 1. Create MotionPrime project:
+### 1. Install MotionPrime:
- $ prime new myapp
+ $ gem install motion-prime
-### 2. Setup application
+### 2. Create MotionPrime project:
- # edit Rakefile
+ $ prime new myapp
### 3. Run application
$ rake
@@ -25,10 +25,10 @@
```ruby
# app/app_delegate.rb
class AppDelegate < Prime::BaseAppDelegate
def on_load(app, options)
- open_root_screen MainScreen.new
+ open_screen MainScreen.new
end
end
# app/screens/main_screen.rb
class MainScreen < Prime::BaseScreen