Groups
Groups
Sign in
Groups
Groups
Ruby Faker
Conversations
About
Send feedback
Help
Need basic help
120 views
Skip to first unread message
JazzezRavi
unread,
Nov 5, 2008, 1:16:52 AM
11/5/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby Faker
Hi All,
I need quick help(solution) from u peopls.
Question:
Faker::Name.name
# => "Gwendolyn Wehner"
Here i want to get only output length less than 10. It means,
Faker::Name.name
#=> "123456789"
Thanks in Advance
P.Raveendran
http://raveendran.wordpress.com
rickerbh
unread,
Nov 5, 2008, 1:28:35 AM
11/5/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby Faker
Hi,
Faker::Name.name[0..9]
Cheers.
::: hamish rickerby :::
http://glimmerdesign.com
rickerbh
unread,
Nov 5, 2008, 1:29:44 AM
11/5/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby Faker
Whoops - you'll actually want
Faker::Name.name[0..8]
if you want output less than 10. Mine was 10.
::: hamish rickerby :::
http://glimmerdesign.com
Raveendran P
unread,
Nov 5, 2008, 1:32:21 AM
11/5/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ruby-...@googlegroups.com
Hi hamish,
Thanks for gor quick help ....
--
Regards,
P.Raveendran
http://raveendran.wordpress.com
+919941414834
Reply all
Reply to author
Forward
0 new messages