Get definition/Script of all stored procedures

Through this query shown below you can get script of all stored procedures inside current database.

select definition  from sys.sql_modules 

Run only given query and you will get all script/definition of all stored procedures in a list(table) form