I need to try this helper method in rails console, but I get an error I'm sorry I'm a newbie en rails
juan:~/workspace/sample_app$ rails c
Loading development environment (Rails 4.2.0.beta2)
2.1.1 :001 > helper.provide(:title,"Home")
=> nil
2.1.1 :002 > yield :title
LocalJumpError: no block given (yield)
I want to reproduce the behavior in rails console of the view helper method called provide
Example
<% provide(:title, "Home") %>
<!DOCTYPE html>
<html>
<head>
<title><%= yield(:title) %> | Ruby on Rails Tutorial Sample App</title>
</head>
<body>
<h1>Sample App</h1>
<p>
This is the home page for the
<a href="http://www.railstutorial.org/">Ruby on Rails Tutorial</a>
sample application.
</p>
</body>
</html>